<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>工作管理系统</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="title" content="Samples" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<!-- 
        <link rel="icon" href="../common/favicon.ico" type="image/x-icon" />
        <link rel="shortcut icon" href="../common/favicon.ico" type="image/x-icon" />
        
         -->
<link rel="stylesheet" type="text/css" href="/static/css/style.css" media="screen" />
</head>
<body>
    <div id="content">
    <!-- 我的主页里面的内容######################################### -->
              <div  class ="panel collapse">
                  <h1>待办事务:  &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; {{today|date:"Y-m-d"}} &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; {{ day_of_week }}&nbsp;&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;  全年的第:{{ week_of_year }} 周.</h1>
                  <div >
                      <div align="left" style="margin:30px 36px 37px 38px;">
                              1,考勤:
                              {%  if first_login_time %}签到：{{first_login_time.hour}}:{{first_login_time.minute}}{%else%}<form name="login" action="/checkin/" method="post" style="color: red;">{%csrf_token%}<input name="checkin_sumbit" id="id_checkin_submit" type="submit" value="签到"/></form>{%endif%}
                              / {% if last_logout_time %}签退：{{last_logout_time}}{%else%}<form name="checkout" action="/checkin/out">{%csrf_token%}<input type="submit" value="签退" id="id_check_out_submit" name="check_out_sumbit"></form>{%endif%}<br/><br/>
                          2,待填写工作报告。(<a href="/schedule/todo" >{{lack_schedule_cnt}}条</a>)<br/><br/>
                          3,待填写工作回顾。(<a href="/review/unfinished">{{lack_review_cnt}}条</a>)<br/><br/>
                          {% if management_role %} <br/><br/>
                          4,检查部门考勤情况。{%if dept_absence_cnt %}(<a href="/checkin/absence/dept">{{dept_absence_cnt}}个异常考勤</a>)<br/><br/>{%endif%}
                          5,待审批工作报告。{%if dept_unapprove_cnt %}(<a href="/approved/unapprove">{{dept_unapprove_cnt}}个待批复</a>)<br/><br/>{%endif%}
                          <!-- 6,待审阅工作回顾。  <br/><br/> -->
                          {% endif %}
                      </div>
                  </div >
              </div >
              <div  class ="panel collapse">
                  <h1>我的信息</h1>
                  <div class="pageContent">
                      <form id="pagerForm" action="xxx"  method="post">
                          <div class="pageFormContent" >
                              <p>

                                  <label>用户名：</label>
                                  <input type="text" name="username" size="30" maxlength="30" class="textInput" readonly="true" value="{{user.last_name}}"/>
                              </p>
                              <p>
                                  <label>所属部门:</label><input type="text" name="username" size="30" maxlength="30" class="textInput" readonly="true" value="{{user_detail.dept.name}}"/>
                              </p>
                              <p>
                                  <label>职&nbsp;&nbsp;务:</label><input type="text" name="username" size="30" maxlength="30" class="textInput" readonly="true" value="{{user_detail.title}}"/>
                              </p>
                              <p>
                                  <label>上级主管:</label><input type="text" name="username" size="30" maxlength="30" class="textInput" readonly="true" value="{{user_detail.superior_auth_user.last_name}}"/>
                              </p>
                              <!--【可选】其它查询条件，业务有关，有什么查询条件就加什么参数-->
                              <p>
                                  <label>日常任务:</label><input type="text" name="username" size="30" maxlength="30" class="textInput" readonly="true" value="{{user_detail.schedule_list}}"/>
                              </p>

                          </div>
                      </form>
                  </div>
              </div >
              <!-- 我的主页里面的内容######################################### -->
    </div>
</body>
</html>